Produced by Araxis Merge on 2021-05-13 09:09:01 +0000. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | /Applications/Ampps/www/Porto 3.2.2/Theme Files/Magento 2.x/Porto Theme/app/design/frontend/Smartwave/porto/Magento_Catalog/templates/product/view | config.phtml | 2018-06-17 22:27:12 +0000 |
| 2 | /Applications/Ampps/www/Porto v4.0.0/Theme Files/Magento 2.x/Porto Theme/app/design/frontend/Smartwave/porto/Magento_Catalog/templates/product/view | config.phtml | 2021-05-02 01:27:14 +0000 |
| Description | Between Files 1 and 2 | |
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 78 |
| Changed | 1 | 2 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| Whitespace | Consecutive whitespace is treated as a single space |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
| Active line-pairing rules |
No regular expressions were active.
| 1 | <?php | 1 | <?php | |||
| 2 | $porto_helper = $this->helper('Smartwave\Porto\Helper\Data'); | 2 | $porto_helper = $this->helper('Smartwave\Porto\Helper\Data'); | |||
| 3 | $move_upsell = $porto_helper->getConfig('porto_settings/product/move_upsell'); | 3 | $move_upsell = $porto_helper->getConfig('porto_settings/product/move_upsell'); | |||
| 4 | $move_addtolinks = $porto_helper->getConfig('porto_settings/product/move_addtolinks'); | 4 | $move_addtolinks = $porto_helper->getConfig('porto_settings/product/move_addtolinks'); | |||
| 5 | $tab_fullbg = $porto_helper->getConfig('porto_settings/product/tab_full_background'); | 5 | $tab_fullbg = $porto_helper->getConfig('porto_settings/product/tab_full_background'); | |||
| 6 | $uppsell_fullbg = $porto_helper->getConfig('porto_settings/product/move_upsell_full'); | 6 | $uppsell_fullbg = $porto_helper->getConfig('porto_settings/product/move_upsell_full'); | |||
| 7 | ?> | 7 | ?> | |||
| 8 | <script type="text/javascript"> | 8 | <script type="text/javascript"> | |||
| 9 | require([ | 9 | require([ | |||
| 10 | 'jquery' | 10 | 'jquery' | |||
| 11 | ], function ($) { | 11 | ], function ($) { | |||
| 12 | $(document).ready(function(){ | 12 | $(document).ready(function(){ | |||
| 13 | if(!($("body").hasClass("product-type-default") || $("body").hasClass("product-type-carousel") || $("body").hasClass("product-type-fullwidth") || $("body").hasClass("product-type-grid") || $("body").hasClass("product-type-sticky-right") || $("body").hasClass("product-type-wide-grid"))) { | 13 | if(!($("body").hasClass("product-type-default") || $("body").hasClass("product-type-carousel") || $("body").hasClass("product-type-fullwidth") || $("body").hasClass("product-type-grid") || $("body").hasClass("product-type-sticky-right") || $("body").hasClass("product-type-wide-grid"))) { | |||
| 14 | <?php if($move_upsell): ?> | 14 | <?php if($move_upsell): ?> | |||
| 15 | $(".product.media").after($(".block.upsell").detach()); | 15 | $(".product.media").after($(".block.upsell").detach()); | |||
| 16 | <?php endif; ?> | 16 | <?php endif; ?> | |||
| 17 | <?php if($tab_fullbg):?> | 17 | <?php if($tab_fullbg):?> | |||
| 18 | var m = $('<div class="main-product-detail"/>'); | 18 | var m = $('<div class="main-product-detail"/>'); | |||
| 19 | $('<div class="container"/>').html($(".move-product-tab").detach()).appendTo(m); | 19 | $('<div class="container"/>').html($(".move-product-tab").detach()).appendTo(m); | |||
| 20 | $("#maincontent").after(m); | 20 | $("#maincontent").after(m); | |||
| 21 | <?php if(!$move_upsell): ?> | 21 | <?php if(!$move_upsell): ?> | |||
| 22 | $(".main-product-detail").after($('<div class="container"/>').html($(".block.upsell").detach())); | 22 | $(".main-product-detail").after($('<div class="container"/>').html($(".block.upsell").detach())); | |||
| 23 | <?php endif; ?> | 23 | <?php endif; ?> | |||
| 24 | <?php endif;?> | 24 | <?php endif;?> | |||
| 25 | <?php if($uppsell_fullbg && !$move_upsell && !$tab_fullbg):?> | 25 | <?php if($uppsell_fullbg && !$move_upsell && !$tab_fullbg):?> | |||
| 26 | if($(".block.upsell").length > 0) { | 26 | if($(".block.upsell").length > 0) { | |||
| 27 | var u = $('<div class="main-upsell-product-detail"/>'); | 27 | var u = $('<div class="main-upsell-product-detail"/>'); | |||
| 28 | $('<div class="container"/>').html($(".block.upsell").detach()).appendTo(u); | 28 | $('<div class="container"/>').html($(".block.upsell").detach()).appendTo(u); | |||
| 29 | $("#maincontent").after(u); | 29 | $("#maincontent").after(u); | |||
| 30 | } | 30 | } | |||
| 31 | <?php endif;?> | 31 | <?php endif;?> | |||
| 32 | } | 32 | } | |||
| 33 | <?php if($move_addtolinks): ?> | 33 | <?php if($move_addtolinks): ?> | |||
| 34 | $(".box-tocart .actions").after('<div class="moved-add-to-links"></div>'); | 34 | $(".box-tocart .actions").after('<div class="moved-add-to-links"></div>'); | |||
| 35 | $(".product-social-links > .product-addto-links").appendTo(".moved-add-to-links"); | 35 | $(".product-social-links > .product-addto-links").appendTo(".moved-add-to-links"); | |||
| 36 | $(".product-social-links > .action.mailto").appendTo(".moved-add-to-links"); | 36 | $(".product-social-links > .action.mailto").appendTo(".product-addto-links"); | |||
| 37 | <?php endif; ?> | 37 | <?php endif; ?> | |||
| 38 | }); | 38 | }); | |||
| 39 | }); | 39 | }); | |||
| 40 | </script> | 40 | </script> |
Araxis Merge (but not the data content of this report) is Copyright © 1993–2019 Araxis Ltd (www.araxis.com). All rights reserved.